#ifndef __motor_bsp_H_
#define __motor_bsp_H_

#define MOTOR_ANGLE			MOTOR_PWM1
#define MOTOR_FRONT_BACK	MOTOR_PWM2
#define MOTOR_LEFT_RIGTH	MOTOR_PWM3


#define MOTOR_ANGLE_DEC     MOTOR_ANGLE,MOTOR_FORWARD
#define MOTOR_ANGLE_INC     MOTOR_ANGLE,MOTOR_REVERSAL
#define MOTOR_FRONT         MOTOR_FRONT_BACK,MOTOR_REVERSAL
#define MOTOR_BACK          MOTOR_FRONT_BACK,MOTOR_FORWARD
#define MOTOR_LEFT          MOTOR_LEFT_RIGTH,MOTOR_FORWARD
#define MOTOR_RIGHT         MOTOR_LEFT_RIGTH,MOTOR_REVERSAL



void motor_bsp_init(void);
s32 motor_bsp_coordinate_get(E_MOTOR_PWM index);

#endif
